#ifndef WORLD_HH_
# define WORLD_HH_

# include "Object.hh"


/*
  instance of sumthin (delimit map as tiles => common datas trouble)
  => max shooting distance in common for 2 zones (+/- 1km)
  => cpy of all items in common
  => a zone superficy must not be under 10km square (10% in common)
  => stream troubles...
  // cd use field of view delimiters (cliffs, mountains, ...)
*/


/** a World is a group of tiles
 ** it is *NOT* a singleton
 ** a complete world is divided in Worlds
 ** instances are Worlds
 ** more than one game (in a single instance) can run on a server ?
 */
class World
{
public:
  /** add Object obj to the zone of id zone, at coordinates coords
   **
   ** \param obj: the Object to add
   ** \param zone: the zone where we'll add obj
   ** \param coords: where we'll add obj
   ** \return true if we successfuly add obj in zone
   */
  bool addObject(Object obj, Zone zone, Vector3 coords);



private:
  unsigned char _climat; // shd be in tiles ?
};

#endif /* !WORLD_HH_ */
